//
//  OASubscribelistVC.m
//  OA项目
//
//  Created by innofive on 2018/4/19.
//  Copyright © 2018年 inno. All rights reserved.
//

#import "OASubscribelistVC.h"
#import "OAAddressBookHeaderView.h"
#import "OASubscribelistDetailsVC.h"
@interface OASubscribelistVC ()

@end

@implementation OASubscribelistVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
}


-(void)onLoadViewByWillAppear:(UIView *)view
{
    [self.tableView config:^(UITableView *tableView) {
        [tableView setSeparatorMan];
    }];
}



#pragma mark 点击方法
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
        OASubscribelistDetailsVC *vc = [[OASubscribelistDetailsVC alloc]init];
        vc.title = @"商业资讯";
        [self pushToVC:vc];
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {

    return 10;
}

-(MCCellInfo *)tableView:(UITableView *)tableView cellForIndexPath:(NSIndexPath *)indexPath IsHeight:(BOOL)isheight
{
//    return [MCCellInfo configForCellId:cell2 Class:[BaseTableViewCell class] UpdateHeight:^CGFloat(NSString *cellId, UITableView *tableView, NSIndexPath *indexPath) {
//        return 150;
//    }TableView:tableView forIndexPath:indexPath CellStyle:UITableViewCellStyleValue1 IsBian:isheight];

    return [MCCellInfo configForCellId:cell2 Class:[OAAddressBook3Cell class] Height:100 TableView:tableView CellStyle:UITableViewCellStyleValue1];

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
